home *** CD-ROM | disk | FTP | other *** search
/ Languguage OS 2 / Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO / gnu / shllutil.lha / shellutils-1.8 / ChangeLog next >
Text File  |  1992-10-28  |  24KB  |  697 lines

  1. Wed Oct 28 14:16:48 1992  David J. MacKenzie  (djm@goldman.gnu.ai.mit.edu)
  2.  
  3.     * Version 1.8.
  4.  
  5.     * stty.c: Accept Irix VRPRNT for VREPRINT.
  6.     From Jim Meyering.
  7.  
  8.     * stty.c: Fix some type mismatches.  From Bruce Evans, bde@runx.oz.au.
  9.  
  10.     * who.c (read_utmp): Close file on error.
  11.     From Bruce Evans.
  12.  
  13.     * su.c, test.c: Add some decls.  From Bruce Evans.
  14.  
  15.     * sleep.c (main): Arg to sleep is unsigned, not long.
  16.     From Bruce Evans.
  17.  
  18. Fri Sep 11 00:25:52 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  19.  
  20.     * echo.c, echo.1: New files.
  21.  
  22. Thu Sep 10 18:42:44 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  23.  
  24.     * pathchk.c (main): Don't strip trailing slashes from args;
  25.     they might make a path invalid.
  26.     (portable_chars_only, dir_ok): New functions.
  27.     (validate_path): Renamed from validate_new_path.
  28.     Call them.  Don't complain if a leading
  29.     dir doesn't exist.  Don't replace `parent' with a dir that
  30.     doesn't exist.  Don't print a message when falling back
  31.     from pathconf to constant values.
  32.  
  33.     * who.c [!UTMP_FILE]: If _PATH_UTMP is defined, use it instead
  34.     of /etc/utmp.  From Marc Boucher <marc@cam.org>.
  35.  
  36. Tue Aug 25 17:02:25 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  37.  
  38.     * Version 1.7.
  39.  
  40.     * groups.sh, nohup.sh: Add $(bindir) to front of path.
  41.  
  42. Mon Aug 24 16:39:39 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  43.  
  44.     * stty.c: make sane value for "min" 1, not 0.
  45.     From haible@ma2s2.mathematik.uni-karlsruhe.de (Bruno Haible).
  46.  
  47. Sun Aug 23 03:02:07 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  48.  
  49.     * id.c, test.c: Use NGROUPS_MAX if it's defined.  386BSD is like sun.
  50.  
  51. Sat Aug 22 03:16:41 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  52.  
  53.     * test.c: Rename STANDALONE to TEST_STANDALONE to avoid IBM RT
  54.     ACIS sys/param.h conflict.
  55.  
  56.     * su.c (correct_password) [HAVE_SHADOW_H]: Try to get the
  57.     encrypted correct password from the shadow password file.
  58.  
  59. Fri Jul 17 15:25:01 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  60.  
  61.     * su.c, getusershell.c: New files.
  62.  
  63. Fri Jul  3 15:08:43 1992  David J. MacKenzie  (djm@nutrimat.gnu.ai.mit.edu)
  64.  
  65.     * stty.c, who.c: Change FOO_MISSING to HAVE_FOO.
  66.  
  67. Fri Jun  5 01:49:29 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  68.  
  69.     * strcspn.c: New file.
  70.  
  71.     * expr.c: Misc. cleanups.
  72.  
  73.     * expr.c (eval7): Renamed from eval6.
  74.     Give syntax error if no more args.  Don't coerce all values to numbers.
  75.     (eval6): New function.
  76.     (eval5): Accept == as a synonym for =.
  77.     (eval2): Coerce values to numbers for comparisons.
  78.     Above all from Dana Jacobsen (jacobsd@prism.cs.orst.edu).
  79.  
  80. Thu Jun  4 19:32:09 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  81.  
  82.     * printf.c (print_formatted): Move main loop into new function.
  83.     (main): Add an outer loop to use the format multiple times.
  84.     (verify): Don't reject a completely empty string.
  85.     Check errno (for overflow).
  86.  
  87.     * false.sh, true.sh: New programs.  Oh, boy.
  88.  
  89. Thu May 14 01:17:22 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  90.  
  91.     * stty.c (set_mode): Support crt and dec modes partially if
  92.     necessary, so they work on, for example, Ultrix . . . .
  93.  
  94. Wed May 13 14:47:45 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  95.  
  96.     * stty.c (set_mode): Swap nl and -nl.  Have them also affect
  97.     output as well as input.
  98.  
  99. Tue May 12 00:07:28 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  100.  
  101.     * date.c (show_date): Use strftime for the whole conversion.
  102.  
  103. Tue May  5 15:20:24 1992  David J. MacKenzie  (djm@hal)
  104.  
  105.     * stty.c (wrapf): Print the formatted buffer; don't redo the
  106.     formatting using vprintf.
  107.  
  108. Thu Apr 30 01:17:08 1992  David J. MacKenzie  (djm@churchy.gnu.ai.mit.edu)
  109.  
  110.     * printf.c (xstrtol, xstrtoul, xstrtod, verify): New functions.
  111.     (main, print_direc): Use them.  Make error messages more specific.
  112.  
  113.     * tee.c (tee): Only malloc and free the table of file descriptors
  114.     if >0 files are given.
  115.  
  116. Fri Apr 17 11:56:48 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  117.  
  118.     * pathchk.c (validate_new_path): Print the name of the component that
  119.     failed the length test, not the whole path.
  120.     From Andreas Schwab (schwab@ls5.informatik.uni-dortmund.de).
  121.  
  122. Mon Apr  6 15:11:36 1992  David J. MacKenzie  (djm@wookumz.gnu.ai.mit.edu)
  123.  
  124.     * who.c (read_utmp): Check close return for error.
  125.     (print_heading): Align columns based on sizes of utmp members.
  126.     (who_am_i): Skip past /dev/ instead of skipping leading path.
  127.  
  128. Mon Mar 16 23:47:03 1992  David J. MacKenzie  (djm@apple-gunkies.gnu.ai.mit.edu)
  129.  
  130.     * date.c (show_date): Don't call strftime if FORMAT is the
  131.     empty string.
  132.  
  133.     * date.c (main): Reorganize to reduce duplicated code.
  134.     Add -d option.
  135.     (usage): Document -d.
  136.     (set_date): Function removed.
  137.  
  138. Tue Feb 11 16:12:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  139.  
  140.     * printf.c (print_esc): When a numeric escape is given,
  141.     don't call print_esc_char, and return 1 less.
  142.     From Thorston Ohl.
  143.  
  144. Mon Jan 20 02:17:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  145.  
  146.     * Version 1.6.
  147.  
  148.     * test.c: HAVE_MULTIPLE_GROUPS -> HAVE_GETGROUPS, for bash 1.11.
  149.  
  150. Fri Jan 17 15:46:18 1992  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  151.  
  152.     * expr.c (docolon): Use re_nsub to find the number of
  153.     subexpressions . . . From Karl Berry, who knows.
  154.  
  155. Wed Dec 25 23:27:53 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  156.  
  157.     * expr.c (docolon): Use the new way (re_regs.num_regs > 0) to find
  158.     out if there were any subexpressions, instead of the old way
  159.     (re_regs.start[1] >= 0), which can cause random memory
  160.     accesses with regex 0.1.  From Brian Matthews.
  161.  
  162. Tue Dec 24 02:12:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  163.  
  164.     * system.h, id.c, pathchk.c, tee.c: Change POSIX ifdefs to
  165.     HAVE_UNISTD_H and _POSIX_VERSION.
  166.  
  167. Wed Dec 11 13:15:09 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  168.  
  169.     * Version 1.5.
  170.  
  171.     * expr.c (main): Set obscure_syntax to tell re_match to
  172.     allocate memory for the group registers.
  173.  
  174. Mon Dec  9 16:03:14 1991  Charles Hannum  (mycroft at hal.gnu.ai.mit.edu)
  175.  
  176.     * who.c (list_entries): Check type == USER_PROCESS if defined, for SysV.
  177.  
  178. Sat Dec  7 00:32:02 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  179.  
  180.     * Version 1.4.
  181.  
  182.     * env, id, nice, pathchk, stty, tee, tty, uname: Change usage
  183.     messages and documentation to list long-named options starting
  184.     with `--' rather than `+'. 
  185.  
  186.     * env.c (main), nice.c (main): Simplify test for which exit
  187.     status to use if exec fails.
  188.  
  189. Fri Dec  6 23:49:42 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  190.  
  191.     * tee.c (main) [POSIX]:  Use sigaction instead of signal, which
  192.     POSIX doesn't have.
  193.  
  194. Fri Oct 18 00:31:35 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  195.  
  196.     * test.c (two_arguments): Fix from Chet.
  197.  
  198.     * expr.c: Include regex.h after sys/types.h, not before, so
  199.     size_t gets defined.
  200.  
  201.     * test.c: New version, adapted from bash 1.10.
  202.  
  203.     * id.c: GID_T -> GETGROUPS_T, for clarity.
  204.  
  205. Sat Oct 12 14:38:34 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  206.  
  207.     * configure: Define uid_t and gid_t as int if they're not
  208.     defined in sys/types.h.  That's probably right for old Unixes
  209.     and avoids trying to find the C preprocessor.
  210.  
  211. Sat Sep 28 13:01:23 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  212.  
  213.     * stty.c (set_mode): Make `raw' and `cooked' not change parity
  214.     and character size, which would probably make them useless on
  215.     7-bit lines.
  216.     Make `raw' set the `time' character to 0, not 1.
  217.     From Bruce Evans.
  218.  
  219.     * nohup.sh: If creating nohup.out, give it mode 0600, for POSIX.
  220.  
  221. Fri Sep 13 14:59:51 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  222.  
  223.     * id.c [POSIX]: Always use sysconf to get NGROUPS_MAX.
  224.  
  225. Thu Aug 29 14:43:07 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  226.  
  227.     * test.c: Don't include sys/file.h if POSIX.
  228.     Use gid_t for getgroups.
  229.  
  230.     * stty.c (set_mode): Use CEOF and CEOL instead of hardcoding them.
  231.     (display_speed): Fix a printf string type mismatch.
  232.     From Bruce Evans.
  233.  
  234. Mon Aug 26 16:52:51 1991  David J. MacKenzie  (djm at pogo.gnu.ai.mit.edu)
  235.  
  236.     * configure, src/Makefile.in, lib/Makefile.in: Only put $< in
  237.     Makefiles if VPATH is being used, because older makes don't
  238.     understand it.
  239.  
  240. Mon Aug 19 01:57:46 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  241.  
  242.     * Version 1.3.
  243.  
  244. Sat Aug 17 22:48:15 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  245.  
  246.     * src/Makefile.in (install): Install a link to test called '['.
  247.  
  248. Wed Aug 14 12:22:57 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  249.  
  250.     * test.c (unary_operator): Check first char of string, not its address.
  251.  
  252. Sun Aug 11 18:10:30 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  253.  
  254.     * Version 1.2.
  255.  
  256.     * system.h: Define S_IFMT if needed, for test.c.
  257.  
  258.     * test.c: New file, from bash.
  259.  
  260.     * nice.c: Change +priority to +adjustment (more accurate).
  261.  
  262. Sat Aug 10 13:09:51 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  263.  
  264.     * stty.c [WINSIZE_IN_PTEM]: sys/ptem.h requires sys/stream.h.
  265.  
  266.     * nice.c, configure: Use nice if available and setpriority is missing.
  267.  
  268. Thu Aug  8 01:34:05 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  269.  
  270.     * date.c: USG needs TZ=GMT0 for UCT timezone, also.
  271.  
  272.     * stty.c: Add pass8 and litout modes.
  273.  
  274. Sun Aug  4 22:45:51 1991  David J. MacKenzie  (djm at wheat-chex)
  275.  
  276.     * Version 1.1.
  277.  
  278. Fri Aug  2 13:22:31 1991  David J. MacKenzie  (djm at apple-gunkies)
  279.  
  280.     * configure: Implement +srcdir.  Don't check for bison.
  281.  
  282.     * stty.c: Don't change ixon in "sane" mode.
  283.  
  284.     * configure: Use 1 instead of 255 for checking tzname,
  285.     because of signedness.
  286.  
  287. Thu Aug  1 13:40:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  288.  
  289.     * printenv.c (main): Don't print the variable names when given
  290.     args, as people seem to use printenv in scripts after all . . . .
  291.  
  292.     * stty.c: Don't change parity or character size settings in
  293.     "sane" mode.  The right values for those depend on the hardware.
  294.  
  295. Wed Jul 31 01:19:01 1991  David J. MacKenzie  (djm at hal)
  296.  
  297.     * stty.c [_AIX]: Include sys/ioctl.h -- needed on
  298.     AIX to get window size.
  299.  
  300. Tue Jul 30 00:06:54 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  301.  
  302.     * getdate.y: New file.
  303.     * date.c: Add -s option to set date in English.
  304.     * configure: Check for ftime.
  305.  
  306.     * date.c: Remove COMPUTE_TM_ZONE code, which didn't work.
  307.     * configure: Instead of checking whether tzname is declared,
  308.     check whether it exists.
  309.  
  310.     * logname.c (main): Go back to just printing an error message
  311.     if getlogin fails, as required by POSIX.
  312.  
  313.     * stty.c (screen_columns, wrapf): New functions to implement
  314.     output wrapping.
  315.     Globally: use them.
  316.  
  317.     * configure: Define uid_t and gid_t if sys/types.h doesn't.
  318.     * system.h: Define F_OK et al. if nothing else does.
  319.  
  320. Mon Jul 29 21:11:16 1991  David J. MacKenzie  (djm at wombat.gnu.ai.mit.edu)
  321.  
  322.     * pathchk.c (validate_new_path): Rearrange tests so that
  323.     pathconf is only called on existing directories.  Use access
  324.     instead of stat to determine directory searchability.
  325.     From Jim Meyering.
  326.  
  327.     * stty.c, configure: Add WINSIZE_IN_PTEM and GWINSZ_BROKEN for SCO.
  328.  
  329. Wed Jul 24 02:13:31 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  330.  
  331.     * stty.c (sane_mode): Always set control chars to sane values.
  332.     Set min and time if they're different from eof and eol.
  333.  
  334.     * whoami.c: Print UID as unsigned.
  335.     * logname.c: Do "whoami" if getlogin fails.
  336.  
  337.     * logname.c (main): fprintf was missing an arg.
  338.  
  339. Tue Jul 23 02:20:15 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  340.  
  341.     * id.c: GID_T is int if ultrix as well as if sun.
  342.  
  343.     * stty.c: Implement raw and cooked modes.
  344.  
  345. Mon Jul 22 15:21:21 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  346.  
  347.     * tee.c (main): close stdin and stdout to check for errors.
  348.  
  349.     * stty.c: Use tcflag_t for termios bitmasks.
  350.     Use speed_t for speeds.  Use unsigned long for baud rates to
  351.     accomodate large values, and support 57600 and 115200 if available.
  352.  
  353.     * date.c, configure: Instead of SIZE_T_MISSING,
  354.     define size_t if it's missing.
  355.  
  356.     * id.c, whoami.c: Use uid_t and gid_t.
  357.  
  358.     * id.c: If POSIX and not sun (bogus!), pass getgroups and
  359.     getugroups an array of gid_t instead of int.
  360.  
  361.     * system.h: New file.
  362.     * Most programs: include it.
  363.  
  364. Fri Jul 19 12:04:58 1991  David J. MacKenzie  (djm at apple-gunkies)
  365.  
  366.     * env.c [!STDC_HEADERS]: Declare errno.
  367.     * printf.c, pathchk.c: Don't include errno.h; not needed.
  368.  
  369.     * version.c: New file.
  370.     * All C programs: Link with it, to get version number in the
  371.     binary where at least `strings -' and grep can find it.
  372.  
  373.     * pathchk.c (strip_trailing_slashes): Function removed; use
  374.     version in lib.
  375.  
  376. Mon Jul 15 11:34:22 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  377.  
  378.     * Version 1.0.
  379.  
  380.     * pathchk.c: Always check whether _POSIX_PATH_MAX and
  381.     _POSIX_NAME_MAX need to be defined.
  382.     [POSIX]: If no PATH_MAX or NAME_MAX and pathconf for the path
  383.     returns -1 (some systems do this if the path does not exist),
  384.     use pathconf for "/". 
  385.  
  386. Sun Jul 14 21:17:22 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  387.  
  388.     * date.c (date_seconds): Function removed, replaced with
  389.     posixtm.y in lib.
  390.     (set_date): Change caller.
  391.     * configure: Check for bison.
  392.  
  393.     * stty.c [!C_LINE_MISSING]: Add support for setting and
  394.     printing the line discipline.
  395.     * configure: Check for C_LINE_MISSING.
  396.  
  397.     * configure: Check for Minix.
  398.  
  399. Sat Jul 13 01:33:59 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  400.  
  401.     * Add `man' directory and manual pages.
  402.     * configure: Set INSTALLDATA and MAN.
  403.  
  404.     * id.c: Add #ifdefs for POSIX ways of getting max groups list size.
  405.     (print_group_list, print_full_info): Allocate list of groups
  406.     with malloc since its size might not be constant.
  407.  
  408.     * nice.c (main): Don't adjust priority if printing it.
  409.     Default adjustment of 10, not 0.
  410.  
  411.     * printf.c: Add \c escape and %b conversion.
  412.     Implement '*' for field width and precision.
  413.     Make all errors fatal.
  414.     (print_esc_string, print_esc): New functions.
  415.  
  416.     * configure, date.c: Change SYS_TIME_H to TM_IN_SYS_TIME.
  417.     * configure: Always check where to find struct tm.
  418.  
  419.     * yes.c: Rewrite to accept multiple arguments.
  420.  
  421.     * Add groups.sh.
  422.  
  423. Fri Jul 12 10:57:00 1991  David J. MacKenzie  (djm at wookumz.gnu.ai.mit.edu)
  424.  
  425.     * dirname.c: Move code from dirname function into main,
  426.     simplifying things quite a bit.  From Jim Meyering.
  427.     * Omit strdup from lib; no longer used.
  428.     * configure: Don't check for strdup.
  429.  
  430.     * printenv.c (main): If args given, print the values in the order
  431.     given on the command line rather than the order given in the
  432.     environment.
  433.  
  434.     * tee.c, tty.c (struct longopts): Revise to make short-option
  435.     equivalents clear.
  436.  
  437. Thu Jul 11 12:46:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  438.  
  439.     * nice.c: Add long options.
  440.  
  441.     * Add date command and libraries it needs.
  442.     * configure: Updated.
  443.  
  444.     * env.c: Add long options.  Use GNU putenv instead of custom
  445.     setenv function.
  446.  
  447.     * id.c: Add long options.
  448.  
  449.     * pathchk.c [POSIX]: Use pathconf if necessary to get NAME_MAX
  450.     and PATH_MAX. 
  451.  
  452.     * nice.c: Use exit status required for nohup by POSIX.2
  453.     (nohup execs nice).
  454.  
  455.     * sleep.c: Don't bother with hex and octal.
  456.  
  457.     * env.c: Fix exit status for POSIX.2 draft 11.1.
  458.  
  459.     * Many files: Remove private copies of xmalloc, error, xstrdup,
  460.     etc. to use shared versions.
  461.     Fix #includes for USG, STDC_HEADERS, POSIX.
  462.  
  463. Mon Jul  8 18:56:24 1991  David J. MacKenzie  (djm at churchy.gnu.ai.mit.edu)
  464.  
  465.     * date.c (main): For -u, set TZ to "" instead of "GMT0",
  466.     unless on HP-UX or Ultrix.
  467.  
  468.     * Rename some feature-test macros.
  469.     * stime.c: Created from code in date.c.
  470.     * date.c (compute_tm_zone): New function.
  471.     (date_seconds, show_date): Use it.
  472.     (xmalloc, xrealloc): Functions removed; use xmalloc.c instead.
  473.  
  474. Tue Jul  2 02:28:11 1991  David J. MacKenzie  (djm at geech.gnu.ai.mit.edu)
  475.  
  476.     * tee.c (tee): Report errors in closing files.
  477.  
  478. Mon Mar 18 10:13:59 1991  Jeffrey A. Law  (law at geech.ai.mit.edu)
  479.  
  480.     * date.c (date_seconds, show_date): #if COMPUTE_TMZONE then
  481.     compute the proper value to place in tm->tm_zone from
  482.     information returned by localtime and gettimeofday.
  483.  
  484. Fri Apr 26 11:38:09 1991  David J. MacKenzie  (djm at mole.gnu.ai.mit.edu)
  485.  
  486.     * stty.c: Define default values for control chars if necessary.
  487.     Complain about invalid options if no other options follow.
  488.     Use POSIX functions instead of ioctl, for manipulating termios.
  489.  
  490.     * expr.c (main): Exit status was backwards.
  491.  
  492. Thu Dec 20 00:36:01 1990  David J. MacKenzie  (djm at apple-gunkies)
  493.  
  494.     * id.c: Reorganization and many changes to fix bugs and POSIX
  495.     compliance problems.
  496.  
  497. Mon Dec 10 03:09:13 1990  David J. MacKenzie  (djm at apple-gunkies)
  498.  
  499.     * stty.c: Don't declare printf and some other functions that
  500.     might have variable numbers of args in system header file decls.
  501.  
  502. Tue Nov 14 23:37:22 1990  Roland McGrath  (roland at geech.ai.mit.edu)
  503.  
  504.     * id.c (print_groups): Put spaces after commas.
  505.     (print_group): New fn, to print a group id.  Uses numeric fmt
  506.     unless -n, in which case it uses group names.
  507.     (print_groups): Call it.  Find the rgid and egid, and print them as
  508.     well as the supplementary groups.  Make sure we print each group only
  509.     once.
  510.  
  511. Sun Sep 16 01:49:14 1990  David J. MacKenzie  (djm at apple-gunkies)
  512.  
  513.     * id.c (main): Add -G option for POSIX.2 draft 10.
  514.     Allow a username to be given.
  515.     (print_groups): New function from code in main.
  516.     (getugroups): New function.
  517.  
  518. Sun Aug 12 00:32:01 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  519.  
  520.     * env.c (main): Instead of setting _POSIX_OPTION_ORDER,
  521.     tell getopt to not permute, with `+'.
  522.  
  523. Sat Aug 11 01:32:53 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  524.  
  525.     * expr.c: Use regex.c library instead of private regex routines.
  526.  
  527.     * nice.c (main): Add -n option for POSIX.2a.
  528.     (usage): New function.
  529.  
  530. Fri Aug 10 23:58:11 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  531.  
  532.     * who.c: Add -m, -i, -w options for POSIX.2a.
  533.  
  534. Tue Aug  7 00:01:02 1990  David J. MacKenzie  (djm at apple-gunkies)
  535.  
  536.     * expr.c: Use exit directly instead of longjmp on error.
  537.     Use argv[0] instead of hardcoded "expr" in messages.
  538.     Make some functions void.
  539.  
  540. Sat Aug  4 21:19:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  541.  
  542.     * env.c: Change exit statuses for POSIX draft 10.
  543.  
  544. Wed Jul  4 04:32:51 1990  David J. MacKenzie  (djm at apple-gunkies)
  545.  
  546.     * tee.c: Use error instead of perror_with_name and
  547.     out_of_memory. 
  548.  
  549. Wed Jun 20 02:39:49 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  550.  
  551.     * date.c: Change -DSETTOD to -DSTIME_MISSING, -DSIZE_T to
  552.     -DSIZE_T_IN_TYPES, and -DSTDC_HDRS to -DSTDC_HEADERS.
  553.     Declare some more functions.  Replace fatal, memory_out, and
  554.     nonfatal_perror with error.
  555.  
  556. Mon Jun 18 00:16:52 1990  David J. MacKenzie  (djm at apple-gunkies)
  557.  
  558.     * stty.c: Add some Unix compatibility modes.
  559.  
  560. Sat Jun 16 21:05:59 1990  David J. MacKenzie  (djm at apple-gunkies)
  561.  
  562.     * stty.c (display_changed, display_all): Print values of min
  563.     and time.
  564.  
  565. Thu Jun 14 17:49:31 1990  David J. MacKenzie  (djm at apple-gunkies)
  566.  
  567.     * stty.c: Implement tab, backspace, etc. delay args.
  568.  
  569. Thu May 31 12:25:40 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  570.  
  571.     * nohup.sh: Don't ignore SIGTERM.
  572.     If ./nohup.out is unwritable, try $HOME/nohup.out.
  573.  
  574. Thu May  3 22:33:32 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  575.  
  576.     * who.c: Use error instead of fatal and fatal_perror.
  577.     (print_headings): Print headings in all caps, like SYSV does.
  578.     (list_entries): New function for -q to make it like SYSV -q.
  579.     (valid_entries): Function removed.
  580.  
  581. Mon Apr  2 01:27:23 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  582.  
  583.     * id.c (main): Don't strip off leading path from program name.
  584.     Revise a couple of error messages.
  585.  
  586.     * whoami.c (main): Use geteuid, not getuid, for Unix compatibility.
  587.  
  588. Tue Mar 20 14:28:25 1990  David J. MacKenzie  (djm at pogo.ai.mit.edu)
  589.  
  590.     * tee.c (main): Pass list of files and its size as args to tee
  591.     rather than as global vars.  Exit with return value of tee
  592.     instead of always 0.
  593.     (tee): Use unbuffered I/O instead of stdio, for POSIX.
  594.     Return an error status.
  595.     (xwrite): New function.
  596.  
  597. Tue Mar 13 00:38:13 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  598.  
  599.     * who.c (who_am_i): Print heading before checking to see
  600.     whether there is an entry for the tty on stdin, for
  601.     consistency with the who function.
  602.     (main): Use argv[optind], not argv[1], as alternate file.
  603.  
  604. Fri Mar  9 15:49:04 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  605.  
  606.     * who.c: Rename UTMP to UTMP_FILE for compatibility with SysV
  607.     utmp.h.  Include some additional header files.
  608.     (main): Recognize some options from SysVr3 who. Call usage.
  609.     Set new global var `program_name' from argv[0].
  610.     (usage): New function.
  611.     (who): If -q given, only print count of users logged on.
  612.     (print_entry): New function to format an entry on the output;
  613.     make format more like that of the Unix who programs.
  614.     (print_heading): New function to print a line describing each
  615.     output field.
  616.     (who, who_am_i): Call print_entry and print_heading.
  617.     (valid_entries): New function to return count of nonempty
  618.     entries in utmp.
  619.     (search_entries): Compare with utmp tty field instead of
  620.     username field.  Don't assume null termination in utmp field.
  621.     (who_am_i): Print the entry for the tty on stdin rather than
  622.     the first entry found for the uid.  If hostname is not
  623.     available, use a null one instead of "<unknown>".
  624.     Don't hardcode max hostname length.
  625.     (idle_string): New function to format idle time field.
  626.     (fatal, fatal_perror): Use program_name instead of hardcoded "who"
  627.     in error messages.
  628.  
  629. Tue Mar  6 00:59:03 1990  David J. MacKenzie  (djm at albert.ai.mit.edu)
  630.  
  631.     * printenv.c (main): Allow multiple variables to be specified.
  632.     (barf): Function removed.
  633.  
  634. Sat Jan 20 18:41:48 1990  Jim Kingdon  (kingdon at geech)
  635.  
  636.     * expr.c (nextarg): Do not pass *args to strcmp if NULL.
  637.  
  638. Mon Dec 18 09:57:20 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  639.  
  640.     * printenv.c (main): Simplify error messages.
  641.  
  642. Sat Dec 16 15:15:50 1989  David J. MacKenzie  (djm at hobbes.ai.mit.edu)
  643.  
  644.     * expr.c: Indent to regularize spacing.
  645.     (cmpv, arithf): Change '#define foo (args)' to '#define foo(args)'
  646.     so they compile.
  647.     (docolon): Remove unused vars.
  648.     (multiply): Rename from times to avoid libc conflict.
  649.     (error): Include program name in message.
  650.     (xmalloc): Rename from Malloc.
  651.     (re_compiled): Rename from re_comp to avoid libc conflict.
  652.  
  653.     * basename.c: Fix some weird indentation.
  654.     (main): Print a clearer usage message.
  655.     Use a simpler method for removing suffix, if given.
  656.     (fatal): Function no longer used; removed.
  657.     
  658.     * sleep.c: (main): Rename `time' to `seconds'.  Print usage
  659.     message if given no args.
  660.     Exit with status 0 instead of falling off end.
  661.     (error): Print to stderr, not stdout.
  662.  
  663.     * tee.c: (main): Use getopt_long instead of custom parser,
  664.     and adjust usage message.
  665.     Use list of filenames in argv rather than making a copy.
  666.     (tee): New function created from the second half of main.
  667.     Fix bug where it tried to fclose a loop index instead of a stream.
  668.     (xmalloc): Ok to return 0 if 0 bytes requested.
  669.     (xrealloc): Unused function removed.
  670.  
  671.     * whoami.c: Canonicalize usage message and fix error message.
  672.  
  673.     * who.c: Declare some functions.
  674.     (fatal_perror): New function for printing errors after system
  675.     calls.
  676.     Global: Use it when appropriate.
  677.     (xmalloc): Return char *, not int.
  678.     (read_utmp): Ok if utmp file is empty.
  679.     Include filename in error messages.
  680.     (scan_entries): Adjust columns to line up better, particularly
  681.     when there are users with 8 character long usernames logged in.
  682.  
  683. Sat Oct 28 13:20:43 1989  David J. MacKenzie  (djm at spiff)
  684.  
  685.     * uname.c: Added long options.
  686.     global: changed the word `part' to the word `element'
  687.     (more precise).
  688.     (program_name, long_options): New variables.
  689.     (main): Support long options.
  690.     (usage): Add long options summary to message.
  691.  
  692. Local Variables:
  693. mode: indented-text
  694. left-margin: 8
  695. version-control: never
  696. End:
  697.